Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Community articleX-Pages Hide When Based on User Role
Added by ~Wendy Fezfanamarnivu | Edited by ~Wendy Fezfanamarnivu on February 24, 2010 | Version 4
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: @userrole, X-page, XPages
I got this code from John Mackey and Tim Tripcony discussing the best way to do this in the comments on one of my blog posts.   I thought it would be good to share!
 
compute the hide when value to 
 
context.getUser().getRoles().contains('[RoleName]');
 

Author:  Mark Hughes

Blog:  My Blogexternal link
Check out  your Lotus Notes ToDo's and Journal on the iPhone at Hughesconnect.comexternal link   
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (5)
collapsed Versions (5)
Version Comparison     
VersionDateChanged by              Summary of changes
5Sep 17, 2010, 12:22:45 PM~Carol Desjipymarings  
This version (4)Feb 24, 2010, 7:14:55 PM~Wendy Fezfanamarnivu  
3Feb 24, 2010, 7:12:32 PM~Wendy Fezfanamarnivu  
2Feb 24, 2010, 7:12:15 PM~Wendy Fezfanamarnivu  
1Feb 24, 2010, 7:11:52 PM~Wendy Fezfanamarnivu  
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL
  • Privacy
  • Accessibility